/**
 * 
 */
package com.sci.web.action.register;

import javax.annotation.Resource;

import com.sci.web.action.util.BaseAction;
import com.sci.web.dao.UserRegisterDao;

/**
 * @author  BaiFuyou
 * @date: Sep 29, 2011 4:16:22 PM
 * 
 * 注册完毕等待审核，返回所属市局的联系人和联系方式
 */
public class WaitCheckAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = -312578266035183492L;
	@Resource
	private UserRegisterDao registerdao;
	/**
	 * 对应的城市的ID
	 */
	private int id;
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	
	@Override
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		/**
		 * 要求传递的城市ID和role为1的  <>负责人和负责人的电话
		 */
		super.setContentType(super.JSON);
		String s = registerdao.getUserChargeAndUserPhone(id);
		outPrint(s+" </br></br></br></br></br> 已经提交审核，请等待");
		return "json";
	}

}
